#include "bullet.h"
#include "constants.h"
#include <vector>
#include "image.h"

using namespace std;

#pragma once
class BulletList
{
public:
	BulletList();
	BulletList(Image bulletImage);
	~BulletList();
	void addNewBullet(float x, float y, float playerPosX, float playerPosY);
	vector<Bullet> moveBullets(float frameTime, float characterPosX, float characterPosY);
	void draw();
private:
	vector<Bullet> bulletList;
	vector<int> repurposeStack;
	Image bulletImage;

	bool contains(vector<int> vec, int i);
};